package com.wzm.org.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.wzm.basic.domain.BaseDomain;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;
import cn.afterturn.easypoi.excel.annotation.Excel;
import java.util.Date;
@Data
public class Shop extends BaseDomain<Shop> {
    @Excel(name = "店铺名称",width = 20)
    private String name;
    @Excel(name = "店铺电话",width = 20)
    private String tel;
    @Excel(name = "入驻时间",width = 20,exportFormat="yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GTM+8")
    private Date registerTime =new Date();
    private Integer state = 1;
    @Excel(name = "店铺地址",width = 30)
    private String address;
    private String logo;

    private Long admin_id;
    private Employee admin;

}
